home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="windows-1251"?>
- <xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999">
-
- <xsl:output method="html" encoding="windows-1251"/>
-
- <xsl:template match="log">
- <style>
- <xsl:text>
- body { background: #f0f3f6; margin: 1em; }
- .rame {
- background: white;
- border: 1px solid #909396;
- }
-
- .full {
- background: #d0d3d6;
- border: none;
- }
-
- #f10 {
- font: 10pt Verdana, Arial, Sans-serif;
- color: #333333;
- margin: 1;
- padding: 4 4 4 4;
- spacing: 1;
- }
- </xsl:text>
- </style>
- <table width="100%" cellspacing="0" border="1" class="rame">
- <tr class="full" id="f10">
- <td width="10%">Process</td>
- <td width="70%">Key</td>
- <td width="10%">Function</td>
- <td width="10%">Result</td>
- </tr>
- <xsl:apply-templates select="logentry"/>
- </table>
- </xsl:template>
-
- <xsl:template match="logentry">
- <tr id="f10">
- <td><xsl:value-of select="parameter[@type='process']"/></td>
- <td><xsl:value-of select="parameter[@type='key']"/></td>
- <td><xsl:value-of select="@function"/></td>
- <td><xsl:value-of select="@result"/></td>
- </tr>
- </xsl:template>
-
- <xsl:template match="parameter"/>
- </xsl:stylesheet>